package com.pace.eps;

import com.netflix.ribbon.proxy.annotation.Hystrix;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @auther dsl
 * @create 2020-02-19 23:57
 */
@EnableFeignClients //使用fegin并激活它
@SpringBootApplication(scanBasePackages = {"com.pace"}, exclude = {KafkaAutoConfiguration.class})
@EnableDiscoveryClient
@EnableCircuitBreaker
@EnableHystrix
public class EpsMain80
{
    public static void main(String[] args) {
            SpringApplication.run(EpsMain80.class, args);
    }
}
